class tree{

	bool isLeaf;
	int weight;
	int pixelval;
	tree* left,* right;
};

